grep-search 0.1.7

This is search query in contents lib.
Documentation

This is search grep lib

Example of using search:

use search::{search, search_case_insensitive};

fn main() {
    let query = "RUst";
    let contents = "Rust is good language";
    let results = search(query, contents, false, false, true);
    assert_eq!(results, vec!["Rust"]) // -> True
}

Version search -- 0.1.7

Note:

  • This is part of the grep project

Update version -- 0.1.7

  • Update function search
  • Delete function search_case_insensitive
  • Update README.md